package com.leostadyn.stackfarm.timestatistics.model.mentity.admin;

import android.os.Handler;

import com.leostadyn.stackfarm.timestatistics.model.bean.StaffBean;
import com.leostadyn.stackfarm.timestatistics.model.minterface.admin.IStaffManageModel;

import java.util.ArrayList;


public class StaffManageModel {

    public static void refresh(final IStaffManageModel callback) {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                ArrayList<StaffBean> staffBeanArrayList = new ArrayList<StaffBean>();

               /* staffBeanArrayList.add(new StaffBean("雷军", "耍猴", "xiaomi", Long.parseLong("2019")));
                staffBeanArrayList.add(new StaffBean("余承东", "吹牛", "huawei", Long.parseLong("2019")));*/

                callback.onSuccess(staffBeanArrayList);
                callback.onCompleted();

            }
        }, 2000);
    }
}
